<?php

require_once ('CoreTag.php');

class CoreTagWithLang extends CoreTag {
	
	protected $lang;
	
	public function __construct($_tagName) {
		parent::__construct ($_tagName);
		$this->lang="";
		$this->attributeNames=array_merge($this->attributeNames,array('lang'));
		$this->attributeValues=array_merge($this->attributeValues,array(''));
	}
	
	public function setLang($_lang)
	{
		$this->lang=(string)$_lang;
		$this->setAttribute('lang',$_lang);
	}
	
	public function getLang()
	{
		return $this->lang;
	}
}

?>